//
//  GKZYHomeCourseCell.h
//  GKZY_CLASS
//
//  Created by KwokChun Cheung on 15/11/26.
//  Copyright © 2015年 eenet. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, GKZYHomeCourseStatus) {
    GKZYHomeCourseNone = 1,
    GKZYHomeCourseProcessing,
    GKZYHomeCoursePass,
    GKZYHomeCourseRetry,
    GKZYHomeCourseFinish,
};

@interface GKZYHomeCourseModel : NSObject
@property (nonatomic, strong) NSString *identity;
@property (nonatomic, strong) NSString *courseId;
@property (nonatomic, strong) NSString *classId;
@property (nonatomic, strong) NSString *chooseId;
@property (nonatomic, strong) NSString *examId;
@property (nonatomic, strong) NSString *examUrl;
@property (nonatomic, strong) NSString *examUrlAble;
@property (nonatomic, strong) NSString *examState;
@property (nonatomic, strong) NSString *examTip;

@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) BOOL isRequired;
@property (nonatomic, strong) NSString *scoreForRequired;
@property (nonatomic, strong) NSString *rateForLearning;
@property (nonatomic, strong) NSString *rateForStudyMark;
@property (nonatomic, strong) NSString *rateForExamMark;
@property (nonatomic, strong) NSString *rateForTotalMark;
@property (nonatomic, strong) NSString *scoreForStudyMark;
@property (nonatomic, strong) NSString *scoreForExamMark;
@property (nonatomic, strong) NSString *scoreForTotalMark;
@property (nonatomic, assign) GKZYHomeCourseStatus courseStatus;
@end

@protocol GKZYHomeCourseCellDelegate;
@interface GKZYHomeCourseCell : UITableViewCell
@property (nonatomic, strong) GKZYHomeCourseModel *model;
@property (nonatomic, weak) id<GKZYHomeCourseCellDelegate> delegate;
@end

@protocol GKZYHomeCourseCellDelegate <NSObject>
@required
- (void)OOHomeCourseCellDelegateShouldPresentNextViewControllerWithSender:(id)sender;

@end
